C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / DataPointer Structure / CopyFrom Method / CopyFrom<T>(T[],Int32,Int32) Method
The buffer to read from.
The offset in the array to read from.
The number of T element to write to the memory location.

CopyFrom<T>(T[],Int32,Int32) Method
Writes the content of the specified buffer to the unmanaged memory location of this instance.
Syntax
'Declaration
 
Public Overloads Sub CopyFrom(Of T As {New, Struct})( _
   ByVal buffer() As T, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer _
) 
 

Parameters

buffer
The buffer to read from.
offset
The offset in the array to read from.
count
The number of T element to write to the memory location.

Type Parameters

T
Exceptions
ExceptionDescription
buffer
DataPointer is Zero
buffer;Total buffer size cannot be larger than size of this data pointer
See Also